<template>
	<view class="page_box">
		<view class="head_box ">
			<yy-custom bgColor="" v-if="0">
				<block slot="backText">返回</block>
				<block slot="content">个人中心</block>
			</yy-custom>
		</view>

		<view class="content_box padding ">
			<view v-for="(item,index) in 6" :key="index">
				<view class="flex  flex-direction align-center solid-bottom padding-tb" @click="click(index)">
					<view class="flex justify-between align-center ww100">
						<view class="flex align-center">
							<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/okkk.jpg" mode="aspectFill" class="w80 h80 round bg-white"></image>
							<text class="f32 text-black text-bold ml35">酱酱</text>
							<text class=" cu-tag  block w86 h38 r6  light f24 bg-yellow ml35">班主任</text>
						</view>
						<span class="cuIcon-unfold" v-if="c == index"></span>
						<span class="cuIcon-fold" v-else></span>
					</view>
					 <scroll-view scroll-x="true" class="scroll-x mt28"  v-if="c == index">
						<view v-for="(item1,index1) in 6" :key="index1">
							<view class="w240 h140 r10 mr20 flex  flex-direction align-center justify-around list">
								<text class="f26">舞蹈专业(1班)</text>
								<view class="flex">
									<image src="../../static/renshu.png" mode="aspectFill" class="w30 h30 "></image>
									<text class="ml18 f26">36人</text>
								</view>
							</view>
						</view>
						
					</scroll-view> 
				</view>
			</view>
			
		</view>
		
		<!-- 登录提示 -->
		<yy-login v-if="false"></yy-login>
		<!-- 加载提示 -->
		<yy-loading text="加载中.." mask="true" click="true" ref="loading"></yy-loading>
		<!-- 信息提示-->
		<u-toast ref="uToast" />
	</view>
</template>

<script>

export default {
	
	data() {
		return {
			c: 0
		};
	},
	onShow() {},
	onLoad(e) {
		
	},
	methods: {
		click(e) {
			this.c = e;
		}
	}
};
</script>

<style lang="scss" scoped>
.page_box {
	.head_box {
		
	}
	.content_box {
		/deep/.scroll-x {
			display: flex !important; 
			height: 140rpx;
		}
		/deep/.uni-scroll-view-content {
			display: flex !important;
		}
		.list {
			background: #F8F7FF;
		}
	}
}
</style>
